<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="__PUBLIC__/js/jquery-easyui-1.5.1/themes/default/easyui.css">
    <link rel="stylesheet" href="__PUBLIC__/js/jquery-easyui-1.5.1/themes/icon.css">
    <link rel="stylesheet" href="__PUBLIC__/Css/public.css">

    <script src="__PUBLIC__/js/jquery-easyui-1.5.1/jquery.min.js"></script>
    <script src="__PUBLIC__/js/jquery-easyui-1.5.1/jquery.easyui.min.js"></script>
    <script src="__PUBLIC__/js/jquery-easyui-1.5.1/locale/easyui-lang-zh_CN.js"></script>
    <script src="__PUBLIC__/kindeditor-4.1.10/kindeditor.js"></script>
    <script src="__PUBLIC__/kindeditor-4.1.10/lang/zh_CN.js"></script>

    <script src="__PUBLIC__/JS/myfun.js"></script>


    <title>Title</title>
    <script type="text/javascript">
        var et;
        $(function () {

            checkff();

            SetKEditor();
            Setdatetime();



        });
        function SetKEditor() {
            KindEditor.ready(function (K) {
                et = K.create('#sde1', {
                    resizeType: 1,
                    allowPreviewEmoticons: false,
                    allowImageUpload: false,
                    items: [
                        'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                        'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
                        'insertunorderedlist', '|', 'emot vicons']
                });

            });

        }

    </script>

</head>
<body>
<form  id="ff" action="{:U('home/record/add_post')}" method="post">
    <table class="table" style="width: 100%">
        <tr>
            <td style="width: 100px ">站点</td>
            <td style="width: 100px ;height: auto">
                <select style=" width: 100%" class="easyui-combobox" name="station" id="station_sel">
                    <foreach name="stationlist" item="vo">
                        <option value="{$vo.id}">{$vo.name}</option>
                    </foreach>
                </select>
            </td>
            <td style="width: 100px ">时间</td>
            <td>
                开始时间<input id="stime" name="starttime" style="float: left;">

                结束时间<input id="dtime" style="float: left" name="donetime">

            </td>
        </tr>
        <tr>
            <td>工作人员:</td>
            <td colspan="3" style="height: 50px">
                <ul style="width: auto">
                    <foreach name="memlist" item="vo">
                        <li style="width: 180px;height: 40px; text-align:left;float: left">
                            <div style="padding: 10px">
                                <input type="checkbox" value="{$vo.id}" id="member_check_{$vo.id}" name="member[]"
                                       width="50%" style="padding:3px;display: inline-block;">{$vo.name}

                                <notempty name="Think.session.islogin">

                                    <span style="float: right;width:50%" id="member_value_{$vo.id}">
                                     <input class="easyui-numberbox"  data-options="prompt:'输入工时...',max:10,min:0"
                                            precision="1"
                                            name="member_value[]" style="width: 80px; float: right">
                                </span>
                                </notempty>


                            </div>
                        </li>
                    </foreach>
                </ul>

            </td>
        </tr>
        <tr>
            <td>内容:</td>
            <td colspan="3" style="height: 100px">
                <textarea name="content" id="sde1" style="width: 100%;height:260px" cols="30" rows="7"></textarea>
            </td>
        </tr>
        <tr>
            <td colspan="4"><input type="submit"   width="78px" value="提交">
            </td>

        </tr>
    </table>
</form>

</body>
</html>